# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_pkgname=django-simple-captcha
pkgname=py3-$_pkgname
pkgver=0.6.0
pkgrel=1
pkgdesc="simple, yet highly customizable Django application to add captcha images to any Django"
url="https://github.com/mbi/django-simple-captcha"
arch="noarch"
license="MIT"
depends="python3 py3-django py3-pillow" # Missing django-ranged-response
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="$_pkgname-$pkgver.tar.gz::https://github.com/mbi/django-simple-captcha/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
05358307fcdd49b5f3949bc0b42ce0007b70af3f5e1551b6bf3029d60b7756398610709e265433c8a6f5cb34c02ace64c906f5741a3747c138f16f7dd55228f8  django-simple-captcha-0.6.0.tar.gz
"
